<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <base href="<%=basePath%>">

    <title>用血申请</title>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
    <style type="text/css">
        .input {
            width: 200px;height: 23px;margin:2px auto;
        }
        .span {
            font-family: '微软雅黑',serif;display: block;
        }
        .a {
            text-decoration: none;
            font-family: '微软雅黑', serif;
            display: block;
            width: 200px;
            height: 30px;
            cursor: pointer;
            border: none;
            background: #114a93;
            color: white;
            font-size: 16px;
            padding: 4px 20px 0 20px;
            margin: 2px auto;
        }
    </style>
</head>

<body style="background:url(<%=basePath%>/background.jpg) repeat-x 40px -40px">
<span style="font-family: '微软雅黑',serif;font-size: 30px">用血申请</span>
<hr/>
<div style="float:left;margin: 120px 0 0 0;">
    <a href="<%=basePath%>index.jsp" class="a" onMouseOver="this.style.background='#2569c1'"
       onmouseout="this.style.background='#114a93'">返回主页</a></div>

<form action="OrderBlood.action" method="post">
    <table  style="margin: 120px 0 0 0;font-family: '微软雅黑',serif;color: black;width:900px;padding: 0 0 0 120px;">
        <tr align="center"> <td colspan="2"><td></tr>
        <tr >
            <td>
                 <span class="span">使用人：</span>
            </td>
            <td>
                <input name="user" type="text" value="" class="input">
            </td>
            <td>
                 <span class="span">使用科室：</span>
            </td>
            <td>
                <select name="officeName" class="input">
                    <option value="#">--------请选择---------</option>
                    <option value="内科">内科</option>
                    <option value="外科">外科</option>
                    <option value="妇科">妇科</option>
                    <option value="儿科">儿科</option>
                </select>
            </td>
        </tr>
        <tr>
            <td>
                 <span class="span">用血量（cc）：</span>
            </td>
            <td>
                <input name="bloodVolume" type="text" value="" class="input">
            </td>
            <td>
                 <span class="span">血型</span>
            </td>
            <td>
                <select name="bloodType" class="input">
                    <option value="#">--------请选择---------</option>
                    <option value="A">A型</option>
                    <option value="B">B型</option>
                    <option value="O">O型</option>
                    <option value="AB">AB型</option>
                </select>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                 <span class="span">血型</span>
            </td>
            <td>
                <select name="bloodName" class="input">
                    <option value="#">--------请选择---------</option>
                    <option value="全血">全血</option>
                    <option value="红细胞">红细胞</option>
                    <option value="血浆">血浆</option>
                    <option value="血小板">血小板</option>
                </select>
            </td>
        </tr>
        <tr>
            <td>&nbsp;</td>
            <td>
                <input type="submit" value="提交" onMouseOver="this.style.background='#2569c1'"
                       onmouseout="this.style.background='#114a93'"
                       style="width:200px;height:30px;margin:20px auto;
                               cursor:pointer;border: none;background: #114a93;color: white;font-size: 16px;text-align: center">
            </td>  <td> <input type="reset" value="重设" onMouseOver="this.style.background='#2569c1'"
                       onmouseout="this.style.background='#114a93'"
                       style="width:200px;height:30px;margin:20px auto;
                               cursor:pointer;border: none;background: #114a93;color: white;font-size: 16px;text-align: center">
            </td>
        </tr>
    </table>
</form>
</body>
</html>
